package org.example.meetingsystem.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtConfig {
    private String secret = "meetingRoomReservationSystemSecretKey2024";
    private Long expiration = 86400000L; // 24小时
    private String header = "Authorization";
    private String prefix = "Bearer ";
}